package cchess.test.util;

import java.io.IOException;

public class TransChessBook {
	public static void main(String args[]) throws IOException{
		/*
		Translation ts = new Translation();
		File f1 = new File("E:/websphere/ChineseChess/data/book.txt");
		File f2 = new File("E:/websphere/ChineseChess/data/book.pre");
		File f3 = new File("E:/websphere/ChineseChess/data/book1.pre");
		File f4 = new File("E:/websphere/ChineseChess/save/testsave3");
		File f5 = new File("E:/websphere/ChineseChess/data/BOOK2.pre");
		File f6 = new File("E:/websphere/ChineseChess/data/book3.pre");
		int maxLine;
		//maxLine = ts.getPreBook();
		//System.out.println("MaxLine1: "+ maxLine);
		maxLine = ts.sortBook(f2,f3,150000);
		System.out.println("MaxLine2: "+ maxLine);
		//ts.getBook(f3,f1,maxLine);
		//ts.loadFromFile(f4);
		//ts.writeToBook(f3);
		//ts.transForm(f5,f6);
		System.out.println("test");*/
	}
}
